package core.communication.electionConfiguration;

import java.util.Date;

public class AddEditElectionDetailsElectionConfiguration extends ElectionConfiguration {
	private static final long serialVersionUID = 2147791572728799275L;

	private String name = null;
	private String description = null;
	private Date startDate = null;
	private Date endDate = null;
	private String cards = null;

	public AddEditElectionDetailsElectionConfiguration(Long electionIdentificationField, String name, String description, Date startDate, Date endDate, String cards) {
		super(electionIdentificationField);
		this.name = name;
		this.description = description;
		this.startDate = startDate;
		this.endDate = endDate;
		this.cards = cards;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public String getCards() {
		return cards;
	}

	public void setCards(String cards) {
		this.cards = cards;
	}

	@Override
	public String toString() {
		return "Dodaję/Edytuję Election: " + getElectionIdentificationField();
	}
}
